Programming Typescript: Making Your JavaScript Applications Scale

Programming Typescript: Making Your JavaScript Applications Scale

  • Downloads:9006
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2022-10-28 09:53:54
  • Update Date:2025-09-07
  • Status:finish
  • Author:Boris Cherny
  • ISBN:1492037656
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

Any programmer working with a dynamically typed language will tell you how hard it is to scale to more lines of code and more engineers。 That's why Facebook, Google, and Microsoft invented gradual static type layers for their dynamically typed JavaScript and Python code。 This practical book shows you how one such type layer, TypeScript, is unique among them: it makes programming fun with its powerful static type system。

If you're a programmer with intermediate JavaScript experience, author Boris Cherny will teach you how to master the TypeScript language。 You'll understand how TypeScript can help you eliminate bugs in your code and enable you to scale your code across more engineers than you could before。

In this book, you'll:



Start with the basics: Learn about TypeScript's different types and type operators, including what they're for and how they're used

Explore advanced topics: Understand TypeScript's sophisticated type system, including how to safely handle errors and build asynchronous programs

Dive in hands-on: Use TypeScript with your favorite frontend and backend frameworks, migrate your existing JavaScript project to TypeScript, and run your TypeScript application in production

Download

Reviews

Petar Ivanov

A solid introductory book about Typescript。 I highly recommed reading the book and going through the examples if you want to upgrade your level and understanding of TypeScript。 Also, the author doesn't spent time to elaborate on basic concepts such as for loop and etc。As a prerequisite, you need some basic understanding of JavaScript。 A solid introductory book about Typescript。 I highly recommed reading the book and going through the examples if you want to upgrade your level and understanding of TypeScript。 Also, the author doesn't spent time to elaborate on basic concepts such as for loop and etc。As a prerequisite, you need some basic understanding of JavaScript。 。。。more

Xander Warszawski

Great resource, went through it quite quickly but will remain within reach。 Author makes some jokes from time to time which makes it a fun read too。

Inna Baikova

Много претензий к книге, начиная от фантазий автора о соблазнении баристы в тех литературе и прочих сомнительных и неуместных шуток, заканчивая неудачными реализациями перегрузок и плохими объяснениями статической типизации через ковариантность

Somraj Saha

The book is a bit too advanced but the author's subtle sense of humour makes it quite a delight to read。 The contents doesn't feel monotonous at all & is very informative。 The only caveat though, I highly doubt the book was written keeping a beginner developers in mind。The first few chapters start out basic & sheds a brief insight into what TypeScript is & why is it necessary。 But then the learning curve steepens significantly。 Any beginner developer who has no idea about statically typed langua The book is a bit too advanced but the author's subtle sense of humour makes it quite a delight to read。 The contents doesn't feel monotonous at all & is very informative。 The only caveat though, I highly doubt the book was written keeping a beginner developers in mind。The first few chapters start out basic & sheds a brief insight into what TypeScript is & why is it necessary。 But then the learning curve steepens significantly。 Any beginner developer who has no idea about statically typed language & only limited experience with dynamic languages like Python/JavaScript will find a hard time to digest the contents。 。。。more

ვახო ჰიბრის სვანიძე

Excellent

Regis Hattori

This book is written for JavaScript developers that want to know more about TypeScript。 So, the book will not waste time presenting JavaScript syntax and basic language constructors like if/else, while, and the like。As the book and language suggest, the most interesting part is the two chapters that talk about types。 I started to read it in the first place exactly because there were some Type Constructions that I did not understand only by trying to infer what was going on。 There are some of the This book is written for JavaScript developers that want to know more about TypeScript。 So, the book will not waste time presenting JavaScript syntax and basic language constructors like if/else, while, and the like。As the book and language suggest, the most interesting part is the two chapters that talk about types。 I started to read it in the first place exactly because there were some Type Constructions that I did not understand only by trying to infer what was going on。 There are some of them that are very different from other languages I know。 This book explains them very well with good examples so now I have more options to choose when solving a problem and use them with confidence because I will understand what is going on。This book also provides a good sense of what changes when you move from JavaScript。 Things like how is the transpiling/building process, how better manage JavaScript dependencies both locally or within libs, and how to migrate a JavaScript project to TypeScript iteratively。 。。。more

Maryam

That was a great intro to Typescript as I'm learning it for the first time, I did get stuck in some of the concepts he was trying to deliver but overall it gave me a broad idea of how to work with typescript and its main features, how it builds over JavaScript and even compiles to it, I haven't read the entire book of course but I'm planning on using it as a reference when working with typescript in the future alongside the docs of course!It took some time and effort to walk through it but it wa That was a great intro to Typescript as I'm learning it for the first time, I did get stuck in some of the concepts he was trying to deliver but overall it gave me a broad idea of how to work with typescript and its main features, how it builds over JavaScript and even compiles to it, I haven't read the entire book of course but I'm planning on using it as a reference when working with typescript in the future alongside the docs of course!It took some time and effort to walk through it but it was worth it 。。。more

Simmoril

Programming TypeScript is a comprehensive, yet concise reference to TypeScript。 While a well-written book that I think TypeScript programmers in general will find very useful, it might be a little much for someone just getting started in TypeScript。 The deep dive into TypeScript's type system that the book does (especially Chapter 6) can be a little daunting if you don't already have some intuition for it built up through some experience。 Even still, I think the author did a commendable job maki Programming TypeScript is a comprehensive, yet concise reference to TypeScript。 While a well-written book that I think TypeScript programmers in general will find very useful, it might be a little much for someone just getting started in TypeScript。 The deep dive into TypeScript's type system that the book does (especially Chapter 6) can be a little daunting if you don't already have some intuition for it built up through some experience。 Even still, I think the author did a commendable job making these difficult topics approachable, and this is definitely a book that I can see myself referencing again and again in the future。 。。。more

Hugh Rawlinson

Pretty good! Learned some good stuff。 Read it before it goes out of date!

Norent Khy

A good introduction to TypeScript's type system。 A good introduction to TypeScript's type system。 。。。more

David Sánchez

It's very good book for people who are currently learning TypeScript。 There's a bunch of information that was really useful for me as I'm not used to a structural typed languages。 I'd recommend this book to people who are currently learning TypeScript but have minimal experience with it, this book has no advanced topics for people who have already knowledge of TypeScript, and doesn't cover very good the basic topics。 It's very good book for people who are currently learning TypeScript。 There's a bunch of information that was really useful for me as I'm not used to a structural typed languages。 I'd recommend this book to people who are currently learning TypeScript but have minimal experience with it, this book has no advanced topics for people who have already knowledge of TypeScript, and doesn't cover very good the basic topics。 。。。more

Nikolay

Solid intro to the language。There was a lot to love in this book: in-depth explanations of how the language works and how is it different from JS without being overwhelming to a novice TypeScripter; the right amount of reference materials – enough that I reread a couple of chapters, but not too much to make book bulkier and outdated quickly; reasonable amount of examples, especially those of advanced type scenarios – without them this part would be quite abstract。If it were me, I would lose most Solid intro to the language。There was a lot to love in this book: in-depth explanations of how the language works and how is it different from JS without being overwhelming to a novice TypeScripter; the right amount of reference materials – enough that I reread a couple of chapters, but not too much to make book bulkier and outdated quickly; reasonable amount of examples, especially those of advanced type scenarios – without them this part would be quite abstract。If it were me, I would lose most of the jokes, they were cliched at best。You should read this book if you:✅ Have decent understanding of JavaScript and its ecosystem。✅ Want to learn TypeScript in more than superficial level without getting deep into the internals。✅ Either have or don't have much experience with type systems – the book deals well with explaining the basic ideas。 。。。more

David Remie

A well-rounded book on TypeScript。 Even experienced developers may want to glance at it in order to fill up certain blind spots。 Not every piece of information will be novel, but this book helps to place it all in context。

Eric Silva

This review has been hidden because it contains spoilers。 To view it, click here。 Nice

Siddhartha Gupta

It was an excellent book to learn about the various aspects of Typescript

Valentino Gagliardi

Programming TypeScript is a complete guide to TypeScript, from the ground up to advanced patterns and usage。 Highly suggested read for anyone wanting to refine their skills on the topic。

Pablo

Like all books that I have read on _secondary_ languages, this one assumes a fair amount of familiarity with JavaScript。 I don't think it's possible yet to be a TypeScript developer without knowing JavaScript first, so, this is not a major problem。The book is extremely detailed。 The section on types and advanced types felt very long and I reached the point of saying "Wow。。。 this is so cool but I don't think I'll ever need that"。 Which is a good thing。 I prefer computer books to leave me with que Like all books that I have read on _secondary_ languages, this one assumes a fair amount of familiarity with JavaScript。 I don't think it's possible yet to be a TypeScript developer without knowing JavaScript first, so, this is not a major problem。The book is extremely detailed。 The section on types and advanced types felt very long and I reached the point of saying "Wow。。。 this is so cool but I don't think I'll ever need that"。 Which is a good thing。 I prefer computer books to leave me with questions about when I would use a tool, instead of how I would use a tool。The humor every now and then was nice :)I'd recommend this book for anyone learning TypeScript。 。。。more

Thomas

Overall, this was a really solid intro to Typescript。 A couple words of caution, though。 First, if you don't already have some background with Javascript, this book might be difficult。 The author does not really cover the syntax of the language itself so much as focusing on the type annotations。 Second, there are definitely some typos。 At a quick glance, it looked like they were present in both the print and electronic editions。 If you have a general idea of what you're doing, they likely won't Overall, this was a really solid intro to Typescript。 A couple words of caution, though。 First, if you don't already have some background with Javascript, this book might be difficult。 The author does not really cover the syntax of the language itself so much as focusing on the type annotations。 Second, there are definitely some typos。 At a quick glance, it looked like they were present in both the print and electronic editions。 If you have a general idea of what you're doing, they likely won't give you any trouble。 Perhaps a later printing/release will address them。 In the end, this is a really solid and approachable overview of Typescript。 If you are at least vaguely familiar with Javascript or take a bit of time to review modern Javascript syntax, you'll be able to get a lot out of this book。 。。。more

Jon Jones

I've been wanting to learn more about Typescript for a few years and this book definitely helped。 My background is 10 years of C#。 About 2 years ago I decided to learn and work with a Javascript stack and I've been working daily with React and Node。 Having a statically-typed compiler that sits on top of Javascript is something I've been wanting to implement in my projects for a while but finding the time has been hard>This book does a good job ox explaining all the options, the different types, I've been wanting to learn more about Typescript for a few years and this book definitely helped。 My background is 10 years of C#。 About 2 years ago I decided to learn and work with a Javascript stack and I've been working daily with React and Node。 Having a statically-typed compiler that sits on top of Javascript is something I've been wanting to implement in my projects for a while but finding the time has been hard>This book does a good job ox explaining all the options, the different types, generic,s interfaces and how you can set-up and configure a project。I think the end of the book felt a little rushed/it could have been written a little easier。 Up to about 70 % of the book I found it really easy to read and understand。 I found myself skipping a few bits towards the end as lots and lots of code on a kindle is difficult to follow>Asides from that I recommend it。 I now use typescript in my code and it makes finding bugs a lot easier。 。。。more

Matija

JavaScript is everywhere, and taking such a widely used and powerful yet deeply flawed technology and making it better in such an intelligent and gentle way is TypeScript's grand achievement。 Boris Cherny's book illuminates this achievement brilliantly and with humour。 Recommended for all JS developers, regardless if you've started using TS or not。 JavaScript is everywhere, and taking such a widely used and powerful yet deeply flawed technology and making it better in such an intelligent and gentle way is TypeScript's grand achievement。 Boris Cherny's book illuminates this achievement brilliantly and with humour。 Recommended for all JS developers, regardless if you've started using TS or not。 。。。more

Joe Previte

One of the few technical books that I've read and thoroughly enjoyed。 I learned something new with each chapter。 Definitely a book I recommend for anyone wanting to dive deep on TypeScript。 One of the few technical books that I've read and thoroughly enjoyed。 I learned something new with each chapter。 Definitely a book I recommend for anyone wanting to dive deep on TypeScript。 。。。more

Stefan Kanev

This is definitely the book to learn TypeScript from。It’s an introduction to the language at exactly the pace I prefer – no time is wasted on beginner stuff (like explaining what a “for” loop is) and subjects are covered in just the right amount of detail – enough to get a proper sense of how things work without needing to try them, but not too much to bog you down in trivia。Pretty much the whole language is covered。 I highly recommend it if you’re learning TypeScript。 You can then follow it up This is definitely the book to learn TypeScript from。It’s an introduction to the language at exactly the pace I prefer – no time is wasted on beginner stuff (like explaining what a “for” loop is) and subjects are covered in just the right amount of detail – enough to get a proper sense of how things work without needing to try them, but not too much to bog you down in trivia。Pretty much the whole language is covered。 I highly recommend it if you’re learning TypeScript。 You can then follow it up with “Effective TypeScript”。P。S。: TypeScript is amazing and so is Visual Studio Code。 。。。more

Dmitry Marcautan

Definitely great for beginners。 But even a seasoned Typescript developer might realize he has few blind spots after reading it。 If you were to read just one chapter from this book read one on Advanced Types。

Stathis

Just read the docs, the explanations are far better than this book。

sung kim

I haven't had this much fun reading a language book in awhile。One of the best books on TypeScript and also serves as a great reference。Highly recommend it to anyone starting with TypeScript。 I haven't had this much fun reading a language book in awhile。One of the best books on TypeScript and also serves as a great reference。Highly recommend it to anyone starting with TypeScript。 。。。more

Juriy

Quite an extensive dive into TypeScript。 Helped me fill in a few gaps, especially the advanced types section。 I expected more info on React (and possibly Redux) with examples of typing out HOC's, defaultProps, reducers, etc。 but I can see how the author wanted to focus more on general topics and only briefly mention popular libraries。I was also surprised to not see so much as a single mention of Flow。js and how it compares to TypeScript (especially since Boris, being at FB, surely is very much f Quite an extensive dive into TypeScript。 Helped me fill in a few gaps, especially the advanced types section。 I expected more info on React (and possibly Redux) with examples of typing out HOC's, defaultProps, reducers, etc。 but I can see how the author wanted to focus more on general topics and only briefly mention popular libraries。I was also surprised to not see so much as a single mention of Flow。js and how it compares to TypeScript (especially since Boris, being at FB, surely is very much familiar with it)。All in all, I'd definitely recommend it to anyone looking to deepen TS knowledge in one sitting。 。。。more

Oleksandr Bilyk

Short book